package com.hymjweb.demo.hymj.master_bill_manage.other_charges.bean;

import com.hymjweb.demo.framework.util.pojoContrast.FieldMeta;
import lombok.Data;

import javax.persistence.Table;
import java.io.Serializable;

/**
 * 主单其他费用对象
 */
@Table(name = "b_master_bill_other_charges")
@Data
public class BMasterBillOtherChargePojo implements Serializable {

    @FieldMeta(columnname = "id", name = "主单其他费用ID",comment = "承运方式ID,关联xt_dic.id key='XT_DIC_TRANSPORT_WAY'")
    private String id;

    @FieldMeta(columnname = "master_bill_type_id", name = "主单类型ID",comment = "主单类型ID,关联xt_dic.id,key=XT_DIC_MASTER_BILL_TYPE")
    private Long masterBillTypeId;

    @FieldMeta(columnname = "master_bill_id", name = "主单ID",comment = "主单表ID,关联b_master_bill_flight.id或b_master_bill_auto.id")
    private String masterBillId;

    @FieldMeta(columnname = "name", name = "其他费用名称",comment = "其他费用名称")
    private String name;

    @FieldMeta(columnname = "amount", name = "其他费用金额",comment = "其他费用金额")
    private Double amount;

    @FieldMeta(columnname = "comment", name = "其他费用备注",comment = "其他费用备注")
    private String comment;

}
